package com.ruoyi.littleRedBook.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author
 * @since 2025-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Store implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 门店id
     */
    @TableId(value = "store_id", type = IdType.AUTO)
    private Long storeId;

    /**
     * 门店名称
     */
    @TableField("name")
    private String name;

    /**
     * 营业起始时间
     */
    @TableField("business_start_time")
    private LocalTime businessStartTime;

    /**
     * 营业结束时间
     */
    @TableField("business_end_time")
    private LocalTime businessEndTime;

    /**
     * 详细地址
     */
    @TableField("detailed_address")
    private String detailedAddress;

    /**
     * 门店图片url
     */
    @TableField("store_image_url")
    private String storeImageUrl;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 状态
     */
    @TableField("status")
    private String status;

}
